home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5140 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. From: Hawk@blanker.ruhr.de (Peter Elzner)
  2. Date: Fri, 8 Mar 96 21:47:00 +0100
  3. X-Mailer: Zodiac's Point 37.204 [REGISTERED 001A] via ANUBIS V 0.558 / ZSort V 1.45
  4. Message-ID: <zp3ad7aCPSvKZ1a@blank1.blanker.ruhr.de>
  5. Organization: neXus
  6. X-ZC-Post: Grudene 6a;58644 Iserlohn;German
  7. X-ZC-Telefon: V+49-2374-8442
  8. X-ZC-F-TO: Jolyon Ralp
  9. X-Gateway: ZCONNECT blanker.ruhr.de [UUSamm 1.31 (04.03.96)]
  10. MIME-Version: 1.0
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. Subject: Re: RTG/rtg.library question
  14. Newsgroups: comp.sys.amiga.programmer
  15. Path: blanker.ruhr.de!BLANK1
  16. References: <601.6639T1270T97@luna.nl> <DnwA2z.83z@cix.compulink.co.uk>
  17.  
  18. jralph@cix.compulink.co.uk (Jolyon Ralph) wrote:
  19.  
  20. > > Hopefully someone can help me with the following problem. I have a
  21. > > planar screen that needs to be copied to an RTG screen. The source
  22. > > 'screen' is one plane deep and possibly located in fastmem.
  23. > >
  24. > > Using rtg.library sounds good to me because I will be able to test
  25. > > the result on my gfx-cardless 2000. But it doesn't support planar
  26. > > modes right?
  27. >
  28. > With 1 bitplane your data is both planar and chunky at the same time
  29. > (there's no difference)!
  30.  
  31. Wrong.
  32.  
  33. Most of the time the term "Chunky" is used, it means 8-bit chunky:
  34. 1 Byte (8 bit) represents one pixel of the screen wether or not you are
  35. actually using all 256 colors.
  36. Even monochrome screens (2 colors) are using 1 Byte-per-pixel on CyberGfx
  37. systems.
  38.  
  39. Now back to the problem:
  40.  
  41. If the source screen is a standard Amiga bitmap (planar & chipmem) and you
  42. have intigrated it into a bitmap-structure, you can call BltBitMap() to
  43. copy it to a rtg-bitmap allocated via AllocBitMap(). The CyberGfx-Emulation
  44. performs a p->c automatically if necessary.
  45.  
  46.  Peter Elzner                                       [Hawk@blanker.ruhr.de]
  47. ---------------------< neXus support center >------------------------------
  48.  Microsoft isn't the answer. Microsoft is the question and the answer is NO
  49.